#include <stdio.h>

int main()
{
        int i, n, ret = 0;
        scanf("%d", &n);
        for (i = 0; i <= n; i++)
        {
                if (i%2 == 1)   // odd num
                        ret += i*i;
        }
        printf("%d\n", ret);
        return 0;
}